﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OseaCS
{
    class EcgCodes
    {
        /*  file: ecgcodes.h  T. Baker and G. Moody	June 1981
            Last revised: 19 March 1992 dblib 7.0
            ECG annotation codes

            Copyright (C) Massachusetts Institute of Technology 1992. All rights reserved.
        */

        public static int NOTQRS = 0;	    /* not-QRS (not a getann/putann code) */
        public static int NORMAL = 1;	    /* normal beat */
        public static int LBBB = 2;	        /* left bundle branch block beat */
        public static int RBBB = 3;	        /* right bundle branch block beat */
        public static int ABERR = 4;	    /* aberrated atrial premature beat */
        public static int PVC = 5;	        /* premature ventricular contraction */
        public static int FUSION = 6;	    /* fusion of ventricular and normal beat */
        public static int NPC = 7;	        /* nodal (junctional) premature beat */
        public static int APC = 8;	        /* atrial premature contraction */
        public static int SVPB = 9;	        /* premature or ectopic supraventricular beat */
        public static int VESC = 10;	    /* ventricular escape beat */
        public static int NESC = 11;	    /* nodal (junctional) escape beat */
        public static int PACE = 12;	    /* paced beat */
        public static int UNKNOWN = 13;	    /* unclassifiable beat */
        public static int NOISE = 14;	    /* signal quality change */
        public static int ARFCT = 16;	    /* isolated QRS-like artifact */
        public static int STCH = 18;	    /* ST change */
        public static int TCH = 19;	        /* T-wave change */
        public static int SYSTOLE = 20;	    /* systole */
        public static int DIASTOLE = 21;	/* diastole */
        public static int NOTE = 22;	    /* comment annotation */
        public static int MEASURE = 23;	    /* measurement annotation */
        public static int BBB = 25;	        /* left or right bundle branch block */
        public static int PACESP = 26;	    /* non-conducted pacer spike */
        public static int RHYTHM = 28;	    /* rhythm change */
        public static int LEARN = 30; 	    /* learning */
        public static int FLWAV = 31;	    /* ventricular flutter wave */
        public static int VFON = 32;	    /* start of ventricular flutter/fibrillation */
        public static int VFOFF = 33; 	    /* end of ventricular flutter/fibrillation */
        public static int AESC = 34;	    /* atrial escape beat */
        public static int SVESC = 35; 	    /* supraventricular escape beat */
        public static int NAPC = 37;	    /* non-conducted P-wave (blocked APB) */
        public static int PFUS = 38;	    /* fusion of paced and normal beat */
        public static int PQ = 39;	        /* PQ junction (beginning of QRS) */
        public static int JPT = 40;	        /* J point (end of QRS) */
        public static int RONT = 41;  	    /* R-on-T premature ventricular contraction */
                                            /* ... annotation codes between RONT+1 and ACMAX inclusive are user-defined */
        public static int ACMAX = 49;	    /* value of largest valid annot code (must be < 50) */
    }

}
